package com.pysoft.safe.service;

import java.util.List;

import com.pysoft.safe.dao.entity.UserEntity;

public interface UserService {

	public List<UserEntity> query();
	public int count();
	
	public UserEntity getUser(String id);
	public String addUser(UserEntity user);
	public void modifyUser(UserEntity user);
	public void deleteUser(List<String> idList);
	
	public void relatingRole(List<String> userIdList, List<String> roleIdList);
	public List<String> getRelatingRoles(String userId);
	public void cancelRelatingRole(List<String> userIdList);
}
